package com.imooc.bilibili.user.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.imooc.bilibili.domain.user.RefreshToken;

/**
 * <p>
 * 刷新令牌记录表 服务类
 * </p>
 *
 * @author gcq
 * @since 2022-06-03
 */
public interface IRefreshTokenService extends IService<RefreshToken> {

    /**
     * 刷新 token
     *
     * @param refreshToken
     * @return
     */
    String refreshAccessToken(String refreshToken) throws Exception;
}
